#include "zf_common_headfile.h"
#define HEIGHT 120
#define WIDTH 188
#define RESULT_WIDTH 128
#define RESULT_HEIGHT 110

//uint8_t PerImg_threshold(uint8_t i,uint8_t j);

uint8_t PerImg_threshold(uint8_t j,uint8_t i)
{
    if (*PerImg_ip[j][i] > threshold)
        {
            return 255;
        }
        else
        {
            return 0;
        }
}
